home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.2 Applications 1996 May / SGI IRIX 6.2 Applications 1996 May.iso / insight / SGI_bookshelves / SGI_Developer / books / Impr_PG / styles / frontmatter < prev    next >
Text File  |  1996-05-06  |  5KB  |  203 lines

  1. <!-- Version $Revision: 1.17 $ of the frontmatter revelatory stylesheet -->
  2.  
  3. <!ENTITY    body.font-family    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,mincho,DEFAULT,new century schoolbook)"    >
  4. <!ENTITY    body.font-size    CDATA    "12"    >
  5. <!ENTITY    body.line-space    CDATA    "14"    >
  6. <!ENTITY    chp.title.font-size    CDATA    "18"    >
  7. <!ENTITY    chp.title.line-space    CDATA    "27"    >
  8. <!ENTITY    chp.title.space-b4    CDATA    "5"    >
  9. <!ENTITY    default.foreground    CDATA    "grey20"    >
  10. <!ENTITY    default.space-b4    CDATA    "6"    >
  11. <!ENTITY    doc.title.font-size    CDATA    "24"    >
  12. <!ENTITY    doc.title.line-space    CDATA    "36"    >
  13. <!ENTITY    left-indent.1    CDATA    "12"    >
  14. <!ENTITY    right-indent.1    CDATA    "10"    >
  15. <!ENTITY    title    CDATA    "black"    >
  16. <!ENTITY    title-font    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,gothic,DEFAULT,Helvetica)"    >
  17. <!ENTITY    title.left-indent    CDATA    "-6"    >
  18. <!ENTITY    font-slant.roman    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,*,DEFAULT,Roman)"    >
  19. <!ENTITY    font-slant.italics    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,*,DEFAULT,Italics)"    >
  20. <!ENTITY    font-weight.bold    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,Medium,DEFAULT,Bold)"    >
  21. <!ENTITY    font-weight.medium    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,Medium,DEFAULT,Medium)"   >
  22.  
  23. <sheet >
  24.  
  25.  
  26.  
  27. <?INSTED COMMENT: GROUP titles>
  28.  
  29. <group name="titles">
  30.     <font-family>    &title-font    </>
  31.     <font-weight>    &font-weight.bold    </>
  32.     <foreground>    &title    </>
  33.     <line-spacing>    &body.line-space    </>
  34.     <justification>    Left    </>
  35.     <break-before>    True    </>
  36. </group>
  37.  
  38. <style name="SUBTITLE" group="titles">
  39.     <font-size>    &chp.title.font-size    </>
  40.     <line-spacing>    &chp.title.line-space    </>
  41. </style>
  42.  
  43. <style name="TITLEPAGE,TITLE" group="titles">
  44.     <font-size>    &doc.title.font-size    </>
  45.     <line-spacing>    &doc.title.line-space    </>
  46.     <break-after>    True    </>
  47. </style>
  48.  
  49.  
  50.  
  51. <?INSTED COMMENT: UNGROUPED STYLES FOLLOW>
  52.  
  53. <style name="#QUERY">
  54.     <font-video>    Inverse    </>
  55.     <foreground>    red    </>
  56. </style>
  57.  
  58. <style name="#ROOT">
  59.     <break-before>    Line    </>
  60. </style>
  61.  
  62. <!-- Default settings for SDATA entities from our entity sets -->
  63. <style name="#SDATA">
  64.     <font-family>    attr(font)    </>
  65.     <font-weight>    &font-weight.medium    </>
  66.     <font-slant>    &font-slant.roman    </>
  67.     <character-set>    attr(charset)    </>
  68.     <break-before>    None    </>
  69.     <text-before>char(attr(code))</>
  70. </style>
  71.  
  72. <style name="#TAGS">
  73.     <foreground>    purple    </>
  74. </style>
  75.  
  76. <style name="APPENDIX">
  77.     <hide>    Children    </>
  78. </style>
  79.  
  80. <style name="BOLD">
  81.     <font-weight>    &font-weight.bold    </>
  82. </style>
  83.  
  84. <style name="CHAPTER">
  85.     <hide>    Children    </>
  86. </style>
  87.  
  88. <style name="CONTRIBUTORS">
  89.     <font-family>    &title-font    </>
  90.     <font-weight>    &font-weight.bold    </>
  91.     <space-before>    &chp.title.space-b4    </>
  92. </style>
  93.  
  94. <style name="COPYRIGHT">
  95.     <font-family>    &title-font    </>
  96.     <font-weight>    &font-weight.bold    </>
  97.     <space-before>    &default.space-b4    </>
  98.     <break-before>    True    </>
  99.     <break-after>    True    </>
  100. </style>
  101.  
  102. <style name="CREDITSPAGE">
  103.     <break-before>    True    </>
  104.     <break-after>    True    </>
  105. </style>
  106.  
  107. <style name="CREDITSPAGE,PARAGRAPH">
  108.     <break-after>    True    </>
  109. </style>
  110.  
  111. <style name="DOCNUMBER">
  112.     <space-before>    &chp.title.space-b4    </>
  113.     <break-before>    True    </>
  114.     <break-after>    True    </>
  115. </style>
  116.  
  117. <style name="FIGURE">
  118.     <left-indent>    &left-indent.1    </>
  119.     <space-before>    if(eq(file(env(HOME)/.figsInsight),FILE),2,6)    </>
  120.     <space-after>    if(eq(file(env(HOME)/.figsInsight),FILE),2,6)    </>
  121.     <break-before>    True    </>
  122. </style>
  123.  
  124. <style name="GLOSSARY">
  125.     <hide>    Children    </>
  126. </style>
  127.  
  128. <style name="GRAPHIC">
  129.     <icon-position>    Left    </>
  130.     <select>    if(eq(file(env(HOME)/.figsInsight),FILE),GRAPHIC_OUT,GRAPHIC_IN)    </>
  131. </style>
  132.  
  133. <style name="GRAPHIC_IN">
  134.     <break-before>    True    </>
  135.     <script>    ebt-if(contains(attr(FILE),.cgm),vector,raster) filename="attr(FILE)"    </>
  136.     <inline>    if(contains(attr(FILE),.cgm),vector,raster) scale=if(isempty(attr(SCALE)),FALSE,attr(SCALE)) filename="attr(FILE)"    </>
  137. </style>
  138.  
  139. <style name="GRAPHIC_OUT">
  140.     <foreground>        </>
  141.     <left-indent>    -=10    </>
  142.     <icon-position>    Left    </>
  143.     <script>    ebt-if(contains(attr(FILE),.cgm),vector,raster) filename="attr(FILE)" title="content(rsibling('CAPTION'))"    </>
  144.     <icon-type>    if(eq(file(var(fig_dir)/attr(FILE).hot),FILE),rasterhot,raster)    </>
  145. </style>
  146.  
  147. <style name="INTRODUCTION">
  148.     <hide>    Children    </>
  149. </style>
  150.  
  151. <style name="ITALICS">
  152.     <font-slant>    &font-slant.italics    </>
  153. </style>
  154.  
  155. <style name="NAMES">
  156.     <font-family>    &body.font-family    </>
  157.     <font-weight>    &font-weight.medium    </>
  158.     <break-before>    True    </>
  159.     <break-after>    True    </>
  160. </style>
  161.  
  162. <style name="NEWLINE">
  163.     <break-before>    True    </>
  164. </style>
  165.  
  166. <style name="SGIDOC">
  167.     <font-family>    &body.font-family    </>
  168.     <font-size>    &body.font-size    </>
  169.     <foreground>    &default.foreground    </>
  170.     <left-indent>    &left-indent.1    </>
  171.     <right-indent>    &right-indent.1    </>
  172.     <line-spacing>    &body.line-space    </>
  173.     <break-before>    False    </>
  174.     <break-after>    True    </>
  175.     <column>    False    </>
  176. </style>
  177.  
  178. <style name="SGIINDEX">
  179.     <hide>    Children    </>
  180. </style>
  181.  
  182. <style name="SYM">
  183.     <font-family>    symbol    </>
  184.     <font-weight>    Medium    </>
  185.     <character-set>    symbol    </>
  186. </style>
  187.  
  188. <style name="TECHNICAL">
  189.     <font-family>    &title-font    </>
  190.     <font-weight>    &font-weight.bold    </>
  191.     <space-before>    &default.space-b4    </>
  192.     <break-before>    True    </>
  193.     <break-after>    True    </>
  194. </style>
  195.  
  196. <style name="TITLEPAGE">
  197.     <break-before>    True    </>
  198. </style>
  199.  
  200.  
  201.  
  202. </sheet>
  203.